<h2 class="title">计划执行</h2>
<form action="index.php" method="GET">
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">合同编号</td>
	<td class="tr_td_width04"><input type="text" class="input_select_stand txt-normal" name="contract_no" value="{%$smarty.get.contract_no%}"/></td>
	<td  class="tr_td_width01 alignright">供货厂商</td>
	<td><input type="text"  class="input_select_long txt-normal" name="sell_owner" value="{%$smarty.get.sell_owner%}"/></td>
</tr>
<tr>	
	<td  class="alignright">签订日期</td>
	<td colspan="3">
		<input class="input_date_select txt-normal" type=text  name="contract_time_start" id="contract_time_start"  value='{%$smarty.get.contract_time_start%}' readonly>
		<script>
		Calendar.setup({
			inputField     :    "contract_time_start",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
		<label class="label01">至</label>
		<input class="input_date_select txt-normal" type=text name="contract_time_end" id="contract_time_end"  value='{%$smarty.get.contract_time_end%}' readonly>
		<script>
		Calendar.setup({
			inputField     :    "contract_time_end",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
	</td>
</tr>
</table>
<input type="hidden" name="c" value="zy_sell">
<p class="btn_right">
<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>
<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_sell&m=add'"><span><em>添加</em></span></button>
</p>
</form>
<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
		<td class="list_td_zw_10">合同编号</td>
		<!--
		<td width="10%">合同总价(万元)</td>
		<td width="5%">币种</td>
		-->
		<td class="list_td_zw_10">供货厂商</td>
		<td class="list_td_zw_04">谈判人</td>
		<!--<td class="list_date">谈判日期</td>-->
		<td class="list_date">签订日期</td>
		<td class="list_date">到货日期</td>
		<td>合同备注</td>
		<td  class="list_td_zw_opt04">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td class="alignleft" title="{%$arr_item.contract_no%}" >{%cut_str str=$arr_item.contract_no sublen=20%}</td>
	<!--	
	<td>{%$arr_item.contract_prices%}</td>
	<td>{%$price_type_arr[$arr_item.currency_id]%}</td>
	-->
	<td class="alignleft"  title="{%$arr_item.sell_owner%}">{%cut_str str=$arr_item.sell_owner sublen=8%}</td>
	<td>{%$admin_info[$arr_item.admin_user_id]%}</td>
	<!--<td>{%$arr_item.talks_time|date_format:"%Y-%m-%d"%}</td>-->
	<td>{%$arr_item.contract_time|date_format:"%Y-%m-%d"%}</td>
	<td>{%$arr_item.finish_time|date_format:"%Y-%m-%d"%}</td>
	<td class="alignleft" title="{%$arr_item.contract_info %}">{%cut_str str=$arr_item.contract_info sublen=10%}</td>
	<td>
		<a href='index.php?c=zy_sell&m=browse&contract_no={%$arr_item.contract_no%}' hidefocus="true">详细</a>&nbsp;
		<a href='index.php?c=zy_sell&m=edit&contract_no={%$arr_item.contract_no%}&is_show=1' hidefocus="true">修改</a>
		<a href='index.php?c=zy_sell&contract_no={%$arr_item.contract_no%}&m=auth_finsh' hidefocus="true">{%if $arr_item.sell_state%}重验{%else%}关验{%/if%}</a>
		<!--<a href='index.php?c=zy_mc_auth&m=add&contract_no={%$arr_item.contract_no%}'>验收</a>-->
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="15">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}